package com.miracle.设计模式.创建型模式.工厂方法模式.案例1_基本;

// 文件日志记录器工厂类，具体工厂
public class FileLoggerFactory implements LoggerFactory{
    @Override
    public Logger getLogger() {
        System.out.println("==>创建FileLoggerFactory begin");
        Logger logger = new FileLogger();
        System.out.println("==>创建FileLoggerFactory end");
        return logger;
    }
}
